<%@ page import="com.anoopsoft.Patron" %>



<div class="fieldcontain ${hasErrors(bean: patronInstance, field: 'username', 'error')} required">
	<label for="username">
		<g:message code="patron.username.label" default="Username" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="username" required="" value="${patronInstance?.username}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: patronInstance, field: 'postCode', 'error')} required">
	<label for="postCode">
		<g:message code="patron.postCode.label" default="Post Code" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="postCode" required="" value="${patronInstance?.postCode}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: patronInstance, field: 'emailAddress', 'error')} required">
	<label for="emailAddress">
		<g:message code="patron.emailAddress.label" default="Email Address" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="email" name="emailAddress" required="" value="${patronInstance?.emailAddress}"/>
</div>

